#include<bits/stdc++.h>
using namespace std;

int main(){
	cout << "5\n19\n7\n1\n"; 
	return 0;
}
